Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: verify versions #182

Merged
merged 3 commits into from
Feb 22, 2023
Merged

chore: verify versions #182

merged 3 commits into from
Feb 22, 2023

Conversation

esoubiran-aneo
Copy link
Contributor

@esoubiran-aneo esoubiran-aneo commented Feb 22, 2023

fix #183

@aneojgurhem
Copy link
Contributor

Il va falloir investiguer pourquoi on génère deux fois la même version

@@ -14,6 +17,7 @@ export function _readAndFind(pattern: RegExp, versions: Map<string, string>) {
}

versions.set(file, version);
consola.trace(`Found ${file.split("/").pop()}@${version}`);
consola.log(`Found ${file.split("/").pop()}@${version}`);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

C'est ok pour moi de le passer en log.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes!

aneojgurhem
aneojgurhem previously approved these changes Feb 22, 2023
@@ -26,7 +26,7 @@ jobs:
uses: codacy/[email protected]
with:
minor-identifier: "feat:"
release-branch: release
release-branch: main
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

pas convaincu de cette solution, ça fera une release sur main (3.6.0, par example) alors qu'on veut une snapshot (3.6.0-snapshot)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, mais dans ce cas, ça veut dire qu'il faut que release soit en avant sur main sauf qu'on ne veut pas à avoir à gérer release

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Je vais voir si on ne peut pas trouver un autre outil

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

je retire ces modifs et je ferais une autre pr au besoin

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

je ne sais pas pourquoi on est dans ce cas. Le truc qui a "débloqué" c'est que tu as fait un nouveau commit donc une nouvelle version. C'est pour ça que je ne suis pas convaincu de cette solution. Je me dis qu'on pourrait avoir le pb avec d'autres outils aussi

@aneojgurhem aneojgurhem merged commit 73fcd18 into main Feb 22, 2023
@aneojgurhem aneojgurhem deleted the chore-fix-verify-version branch February 22, 2023 14:42
ddiakiteaneo pushed a commit that referenced this pull request Jun 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update verify-versions script
2 participants